package com.caowei.weicimpress.weicimpress;

import java.io.File;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by caoweiPc on 2014/7/20.
 */
public class MyDataList {
    private List<FileInfoBean> fileInfoBeans=new ArrayList<FileInfoBean>();
    private String parentPath= File.separator;
    private int numOfDirs=-1;
    private int numOfFiles=-1;
    //bytes
    private BigDecimal allSpace=BigDecimal.valueOf(-1);
    //bytes
    private BigDecimal sizeOfCurrentDir=BigDecimal.valueOf(-1);

    public MyDataList(List<FileInfoBean> fileInfoBeans){
        this.fileInfoBeans=fileInfoBeans;
    }

    public MyDataList(){

    }

    public List<FileInfoBean> getFileInfoBeans() {
        return fileInfoBeans;
    }

    public void setFileInfoBeans(List<FileInfoBean> fileInfoBeans) {
        this.fileInfoBeans = fileInfoBeans;
    }

    public int getNumOfDirs() {
        return numOfDirs;
    }

    public void setNumOfDirs(int numOfDirs) {
        this.numOfDirs = numOfDirs;
    }

    public int getNumOfFiles() {
        return numOfFiles;
    }

    public void setNumOfFiles(int numOfFiles) {
        this.numOfFiles = numOfFiles;
    }

    public BigDecimal getAllSpace() {
        return allSpace;
    }

    public void setAllSpace(BigDecimal allSpace) {
        this.allSpace = allSpace;
    }

    public BigDecimal getSizeOfCurrentDir() {
        return sizeOfCurrentDir;
    }

    public void setSizeOfCurrentDir(BigDecimal sizeOfCurrentDir) {
        this.sizeOfCurrentDir = sizeOfCurrentDir;
    }

    public String getParentPath() {
        return parentPath;
    }

    public void setParentPath(String parentPath) {
        this.parentPath = parentPath;
    }
}
